import request from '../utils/request'

export function updateUserInfo(data) {
  return request({
    url: '/api/user/info',
    method: 'put',
    data
  })
}

export function getCoupons() {
  return request({
    url: '/api/user/coupons',
    method: 'get'
  })
}